import request from '@/utils/request'

// 查询模版披露任务列表
export function listWordOnlineTemplateDisclosure(query) {
  return request({
    url: '/word/wordOnlineTemplateDisclosure/list',
    method: 'get',
    params: query
  })
}

// 查询模版披露任务详细
export function getWordOnlineTemplateDisclosure(id) {
  return request({
    url: '/word/wordOnlineTemplateDisclosure/' + id,
    method: 'get'
  })
}

// 保存模版披露任务
export function saveWordOnlineTemplateDisclosure(data) {
  return request({
    url: '/word/wordOnlineTemplateDisclosure/save',
    method: 'post',
    data: data
  })
}

// 删除模版披露任务
export function delWordOnlineTemplateDisclosure(id) {
  return request({
    url: '/word/wordOnlineTemplateDisclosure/' + id,
    method: 'delete'
  })
}

// 导出模版披露任务
export function exportWordOnlineTemplateDisclosure(query) {
  return request({
    url: '/word/wordOnlineTemplateDisclosure/export',
    method: 'get',
    params: query
  })
}
